package com.cqust.mapper;

import com.cqust.entity.User;

import java.util.List;

public interface UserMapper {
    public User selectById(int id);
    public List<User> selectAll();
    public int insert(User user);
    public User ExistUser(User user);
    public List<User> selectByCondition(User user);

    int createAccount(User user);

    int updateUser(User user);

    int deleteUserById(int uId);

    int deleteCardByUid(int uId);
    int getMaxId();
}
